<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>递归</title>
	<script>
		function digui(num) {
			if (num>=100) {
				return num=100;
			}
			return num+"+"+digui(num+1);
		}
		// var sum=digui(1);
		alert(digui(1));
	</script>
</head>
<body>
	
</body>
</html>